package com.schedualnew.mq.dto.esb;


import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Data;

import javax.naming.Name;
import java.util.List;

@Data
public class MsgInfo<T> {

//    @JacksonXmlElementWrapper(useWrapping = false)
//    @JacksonXmlProperty(localName = "Msg")
//    private List<T> msg;

    @JacksonXmlElementWrapper(localName = "DETAILS")
    @JacksonXmlProperty(localName = "Msg")
    private Msg msg;
}
